package com.lianyou.chapter04.resourcebundlelocator;

import jakarta.validation.constraints.Max;
import jakarta.validation.constraints.NotNull;

public class Car {

	//@NotNull(message = "{jakarta.validation.constraints.NotEmpty.message}")原来的消息依然有效
	@NotNull
	private String licensePlate;

	@Max(300)
	private int topSpeed = 400;

}
